//
//  Shape.m
//  工厂模式
//
//  Created by flannery on 2018/12/17.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Shape.h"

@implementation Rectangle
- (void)draw {
    NSLog(@"Inside Rectangle::draw() method.");
}

@end


@implementation Square
- (void)draw {
     NSLog(@"Inside Square::draw() method.");
}

@end


@implementation Circle
- (void)draw {
     NSLog(@"Inside Circle::draw() method.");
}

@end
